home *** CD-ROM | disk | FTP | other *** search
/ Holt Researcher: American History / Holt Researcher: American History.iso / pc / modules / tour.dxr / 00492_Tool Box.ls < prev    next >
Encoding:
Text File  |  2000-01-21  |  1.1 KB  |  52 lines

  1. on tellloc startsprite, endSprite
  2.   if voidp(endSprite) then
  3.     endSprite = startsprite
  4.   end if
  5.   repeat with rc = startsprite to endSprite
  6.     if the memberNum of sprite rc = 0 then
  7.       put "‚Ä¢‚Ä¢ Blank"
  8.       next repeat
  9.     end if
  10.     put rc, member(the memberNum of sprite rc).name, the loc of sprite rc
  11.   end repeat
  12. end
  13.  
  14. on tellrect startsprite, endSprite
  15.   if voidp(endSprite) then
  16.     endSprite = startsprite
  17.   end if
  18.   repeat with rc = startsprite to endSprite
  19.     if the memberNum of sprite rc = 0 then
  20.       put "‚Ä¢‚Ä¢ Blank"
  21.       next repeat
  22.     end if
  23.     put rc, member(the memberNum of sprite rc).name, the rect of sprite rc
  24.   end repeat
  25. end
  26.  
  27. on Jat p1, p2, p3, p4, p5, p6
  28.   put p1, p2, p3, p4, p5, p6
  29. end
  30.  
  31. on VideoPausedAtStart
  32.   repeat with rc = 1 to the number of castMembers
  33.     if member(rc).type = #digitalVideo then
  34.       member(rc).pausedAtStart = 1
  35.     end if
  36.   end repeat
  37.   beep(2)
  38. end
  39.  
  40. on ListEntries
  41.   xList = []
  42.   repeat with rc = 1 to the number of castMembers
  43.     if member(rc).type = #field then
  44.       if member(rc).editable = 1 then
  45.         append(xList, member(rc).name)
  46.       end if
  47.     end if
  48.   end repeat
  49.   Jat(xList)
  50.   beep(2)
  51. end
  52.